# Armbian resize2fs service
# Resizes partition and filesystem on first/second boot
# This service may block the boot process for up to 5 minutes

[Unit]
Description=Armbian filesystem resize service
Before=basic.target
After=sysinit.target local-fs.target
DefaultDependencies=no

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash /etc/init.d/resize2fs start
TimeoutStartSec=5min

[Install]
WantedBy=basic.target
